<B:UIWTGEW x:Class="WPFExcelReport.UIWS22TYT"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                     xmlns:B="clr-namespace:WPFExcelReport;assembly=TWTGEW"   
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                      xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:TXT="clr-namespace:WPFExcelReport;assembly=TTXTIND"  
                    xmlns:DF="clr-namespace:WPFExcelReport;assembly=TWTEINZ"  
                    xmlns:WT="clr-namespace:WPFExcelReport;assembly=TWTSAER"  
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <B:UIWTGEW.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </B:UIWTGEW.Resources>
    <Grid  Visibility="{Binding IsTYT,ElementName=TV,Converter={StaticResource bv}}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <WrapPanel Grid.Row="0" Visibility="Collapsed"> 
            <TextBlock Text="{Binding Source={Localization:Translate Word=穿综:}}"/>
             <SD:K0109 
               LMS="D" 
                 IsEdit="{Binding IsEdit,ElementName=TV}"
                KEY="{Binding BIND,ElementName=TV}"
                EXAUF="{Binding BIND,ElementName=TV}"/>
            <TextBlock Text="{Binding Source={Localization:Translate Word=纹板:}}"/>
            <SD:K0109 
                LMS="P"
               IsEdit="{Binding IsEdit,ElementName=TV}"
                KEY="{Binding PEGPLAN,ElementName=TV}"
                EXAUF="{Binding PEGPLAN,ElementName=TV}"/>
            <TextBlock Text="{Binding Source={Localization:Translate Word=组织图:}}"/>
            <SD:K0109 
                LMS="W"
                IsEdit="{Binding IsEdit,ElementName=TV}"
                KEY="{Binding WEAVE,ElementName=TV}"
                EXAUF="{Binding WEAVE,ElementName=TV}"/>
            <DF:TSWT06 
                IsEdit="{Binding IsEdit,ElementName=TV}"
                KEY="{Binding EINZNR,ElementName=TV}"
                ORDERNUM="{Binding EINZNR,ElementName=TV}"/>  
            <TextBlock Text="{Binding Source={Localization:Translate Word=纬纱排列:}}"/>
            <TextBlock Text="{Binding WTKEY,ElementName=TV}"   Width="80"/>
            <WT:TSWT14 
                JWP="W"
                KEY="{Binding WTKEY,ElementName=TV}" 
                IsEdit="{Binding IsEdit,ElementName=TV}" 
                />
           
        </WrapPanel>
        <WrapPanel  Grid.Row="2">
            <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Source={Localization:Translate Word=筘号:}}"/> 
            <ex:NumericBox  Grid.Row="2" Grid.Column="0" Text="{Binding WTGWBBRT}" MaxLength="3" Width="60"/>
            <TextBlock Grid.Row="1" Grid.Column="0" Text="{Binding Source={Localization:Translate Word=齿穿:}}"/>
            <ex:NumericBox  Grid.Row="2" Grid.Column="1" Text="{Binding WTGWBF}" MaxLength="1" Width="40"/>
            <TextBlock Grid.Row="1" Grid.Column="0" Text="{Binding Source={Localization:Translate Word=转速:}}"/> 
            <ex:NumericBox  Grid.Row="2" Grid.Column="0" Text="{Binding WTGNFTOLM}" MaxLength="3" Width="60"/>
            <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Source={Localization:Translate Word=效率:}}"/>
            <ex:NumericBox  Grid.Row="2" Grid.Column="1" Text="{Binding WTGNFTOLP}" MaxLength="2" Width="60"/>
        </WrapPanel>
        
    </Grid> 
</B:UIWTGEW>

    
